package com.airbat.prize.modules.base.controller.structure.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static com.airbat.prize.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 组织架构 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class BaseStructureBaseVO {

    @ApiModelProperty(value = "编辑时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date editTime;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "")
    private String extend;

    @ApiModelProperty(value = "")
    private Integer changeType;

    @ApiModelProperty(value = "")
    private Integer isSync;

    @ApiModelProperty(value = "所在地址")
    private String address;

    @ApiModelProperty(value = "")
    private String board;

    @ApiModelProperty(value = "")
    private String code;

    @ApiModelProperty(value = "负责人")
    private String leader;

    @ApiModelProperty(value = "")
    private Integer level;

    @ApiModelProperty(value = "左上角logo")
    private String logoId;

    @ApiModelProperty(value = "自定义主页")
    private String main;

    @ApiModelProperty(value = "描述")
    private String meno;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "编号")
    private Integer no;

    @ApiModelProperty(value = "上级id")
    private String parentId;

    @ApiModelProperty(value = "联系人手机号")
    private String phoneNum;

    @ApiModelProperty(value = "位置")
    private String position;

    @ApiModelProperty(value = "左上角标题")
    private String title;

    @ApiModelProperty(value = "0其他 1省 2市 3区 4企业/用户 5配电房")
    private Integer type;

}
